package com.ys.service;

import com.ys.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface OrderService {
    List<Order> OrderList(Order order);
    boolean addsa(Order order);
    boolean deltes(Integer id);
    List<Order> searchBuyAll(String name1, String name2,String name3,String name4);     //查询全部为购买的订单


    List<Order> searchAll();
    List<Order> searchType(String types);
    List<Order> searchDate(LocalDate goumaishijian);
}
